﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using InvRec.InvRecognitionService;

namespace InvRec
{
    [ComVisible(true)]
    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    [Guid("862B35FB-6A11-4A94-A2C5-599112DF073F")]
    public interface ICom
    {
        [DispId(1)]
        void CaptureCam(string ms);

        [DispId(2)]
        ReturnObjectOfstring RecFphm(string ServiceUrl, string imagePath, int x, int y, int width, int height);

        [DispId(3)]
        event CompleteEventHandler CaptureComplete;

        [DispId(4)]
        string GetCams();
    }

}
